package com.easychat.service;

import com.easychat.entity.dto.TokenUserInfoDto;
import com.easychat.entity.vo.UserInfoVo;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author kyle.li
 * @version 1.0
 * @description: TODO
 * @date 2024/6/29 22:56
 */

public interface UserInfoService {

    /**
     * 注册
     * @param email
     * @param nickName
     * @param password
     */
    void register(String email, String nickName, String password);

    //登录
    UserInfoVo login(String email, String password);

}
